﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OnlineManagement.Model
{
    [Serializable]
    public partial class FodderPurchase
    {
        public FodderPurchase()
        { }
        #region Model
        private int _purchaseid;
        private int _hoggeryid;
        private int? _fodderid;
        private decimal? _price;
        private decimal? _amount;
        private decimal? _unit;
        private string _unitname;
        private DateTime? _expirationdate;
        private DateTime? _productiondate;
        private DateTime? _purchasedate;
        private string _comment;
        /// <summary>
        /// 
        /// </summary>
        public int PurchaseID
        {
            set { _purchaseid = value; }
            get { return _purchaseid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int HoggeryID
        {
            set { _hoggeryid = value; }
            get { return _hoggeryid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? FodderID
        {
            set { _fodderid = value; }
            get { return _fodderid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal? Price
        {
            set { _price = value; }
            get { return _price; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal? Amount
        {
            set { _amount = value; }
            get { return _amount; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal? Unit
        {
            set { _unit = value; }
            get { return _unit; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string UnitName
        {
            set { _unitname = value; }
            get { return _unitname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? ExpirationDate
        {
            set { _expirationdate = value; }
            get { return _expirationdate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? ProductionDate
        {
            set { _productiondate = value; }
            get { return _productiondate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? PurchaseDate
        {
            set { _purchasedate = value; }
            get { return _purchasedate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Comment
        {
            set { _comment = value; }
            get { return _comment; }
        }
        #endregion Model

    }
}
